/**
 * jims
 */
package com.jims.master.modules.base.netHosptial.entity;


import com.jims.master.common.persistence.DataEntity;
import com.jims.master.modules.sys.entity.HospitalDict;
import org.hibernate.validator.constraints.Length;

/**
 * Entity
 * @author xueyx
 * @version 2017-05-23
 */
public class NetSetting extends DataEntity<NetSetting> {

	private static final long serialVersionUID = 1L;
	private HospitalDict hosiptial;		// 上级医院
	private String doctorBaseinfo;		// 医生
	private String loginName;		// 分配的用户登录名
	private String applyFlag;		// 申请标志：申请/1、通过/2、未通过/3、
	private String resultText;		// 评语
	private String hosiptialId;

	public NetSetting() {
		super();
	}

	public NetSetting(String id){
		super(id);
	}

	public HospitalDict getHosiptial() {
		return hosiptial;
	}

	public void setHosiptial(HospitalDict hosiptial) {
		this.hosiptial = hosiptial;
	}

	public String getHosiptialId() {
		return hosiptialId;
	}

	public void setHosiptialId(String hosiptialId) {
		this.hosiptialId = hosiptialId;
	}

	@Length(min=0, max=255, message="医生长度必须介于 0 和 255 之间")
	public String getDoctorBaseinfo() {
		return doctorBaseinfo;
	}

	public void setDoctorBaseinfo(String doctorBaseinfo) {
		this.doctorBaseinfo = doctorBaseinfo;
	}

	@Length(min=0, max=255, message="分配的用户登录名长度必须介于 0 和 255 之间")
	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	@Length(min=0, max=1, message="申请标志：申请/1、通过/2、未通过/3、长度必须介于 0 和 1 之间")
	public String getApplyFlag() {
		return applyFlag;
	}

	public void setApplyFlag(String applyFlag) {
		this.applyFlag = applyFlag;
	}

	@Length(min=0, max=500, message="评语长度必须介于 0 和 500 之间")
	public String getResultText() {
		return resultText;
	}

	public void setResultText(String resultText) {
		this.resultText = resultText;
	}
}